﻿using System;
using System.IO;
using Microsoft.Xna.Framework;

namespace Rites.GameObjects
{
    public class Player
    {
        //Properties
        public string Name { get; set; }
        public int ID { get; set; }

        public int X { get; set; }
        public int Y { get; set; }

        //Animation assistance properties. Ideally would prefer these to be on an "Mobile" class, so we can make anything mobile animate from location to location
        public float RunSpeed { get; set; } //Milliseconds to get from location to location - this must be CAPPED
        public Vector2 vecPlayerTransition;
        public int DestinationX { get; set; }
        public int DestinationY { get; set; }

        #region Constructors
        public Player()
        {
            vecPlayerTransition = new Vector2(0.0f, 0.0f);
            RunSpeed = 400.0f;
        }

        #endregion

        public string PlayerString()
        {
            return this.Name;
        }
    }
}
